/*
 * @Author: yuki
 * @Date: 2025-10-25 22:15:08
 * @LastEditTime: 2025-10-26 17:09:29
 * @Description: 全局共享模块
 */
import { Global, Module } from '@nestjs/common';

import { BcryptService } from './bcrypt.service';
import { JwtStrategy } from './jwt.strategy';
import { PrismaService } from './prisma.service';
import { SnowflakeService } from './snowflake.service';
import { TokenService } from './token.service';

@Global()
@Module({
  providers: [
    PrismaService,
    SnowflakeService,
    BcryptService,
    TokenService,
    JwtStrategy
  ],
  exports: [
    PrismaService,
    SnowflakeService,
    BcryptService,
    TokenService,
    JwtStrategy
  ]
})
export class ShareModule {}
